<script setup lang="ts">
import { ref } from 'vue'
const active = ref('my')
</script>
<template>
  <van-tabbar v-model="active" active-color="#ee0a24" id="buttonBar">
    <van-tabbar-item name="home" icon="home-o" to="/">主页</van-tabbar-item>
    <van-tabbar-item name="rec" icon="friends-o" to="/recommendCustomer">推荐客户</van-tabbar-item>
    <van-tabbar-item name="my" icon="user-circle-o" to="/my">我的</van-tabbar-item>
  </van-tabbar>
  <RouterView />
</template>
